/*
@auther fenglei
*/
package main

import (
	"fmt"
)

func main() {
	fmt.Println("test")
	//fmt.Println(xxsys.ProcessNameId("tomcat_8095"))
	//fmt.Println(xxsys.IsPortOccupancy(8080))
	//if err := gfile.CopyDir("/opt/up366ops/ops-client-agent/tools/tomcat/tomcat_8080", "/webapp"); err != nil {
	//	fmt.Println(err)
	//}
	//ccc := "/opt/backtools/mongodb-4.4/bin/mongorestore --gzip --stopOnError --drop -h 192.168.0.49 --port 27017 -u ttedudb -p ttedudb -d ttedu_dub  /backup/data_ttedu/mongo/full_backup/ttedu_dub/2025-04-23/ttedu_dub/ --authenticationDatabase admin"
	//bbb, err := xxsys.ExecCmdSh(ccc)
	//if err != nil {
	//	fmt.Println("err", err)
	//	return
	//}
	//fmt.Println("bbb:", bbb)

	//client := xxhttp.NewHttpClient()
	//client.TimeOut = 120 * time.Second
	//message := client.HttpUploadFile("https://qyapi.weixin.qq.com/cgi-bin/webhook/upload_media?key=ea77f668-d2d3-48ac-862e-ae5b6c23a2c0&type=file", "/Users/fenglei/WorkGo/logs/pdf/9041332-C74A18D7A1BA0E3CC0021DBD433D2026.txt", "file", "你好.txt")
	//if message.Err != nil {
	//	xxlog.ErrorUp366(message.Err)
	//} else {
	//	xxlog.InfoUp366(message.Body)
	//}

	//  gox -osarch "linux/amd64" -output="ops-util"
}
